cmake_minimum_required(VERSION 3.22.0)

project(linktest)

include_directories(include)

set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib2)

add_library(func2 SHARED src/func2.cpp)

set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib1)

add_library(func1 STATIC src/func1.cpp)
